package com.gec.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gec.model.entity.SysRole;
import com.gec.model.vo.SysRoleQueryVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author lxj
 * @since 2024-03-07
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    //    分页+查询
//    @Param("vo") SysRoleQueryVo roleQueryVo   //给roleQueryVo，这个参数设置一个别名 vo
    public IPage<SysRole> selectPage(IPage<SysRole> page1, @Param("vo") SysRoleQueryVo sysRoleQueryVo);

}
